<!DOCTYPE html>
<html lang="zh_CN">

<head>
    <meta charset="utf-8">

    <title>
        {% block title %}Base Html{% endblock title %}
    </title>

    {% block style %}
    <link rel="stylesheet" type="text/css" href="{{ url_for('static', filename='css/bootstrap.css') }}">
    {% endblock style %}

</head>

<body>
    <div class="container">
        {% block flashed %}
        {# 显示 Flash Message #}
        {% for msg in get_flashed_messages() %}
        <div class="alert alert-danger">{{ msg }}</div>
        {% endfor %}
        {% endblock flashed %}

        {% block content %}
        {% endblock content %}
    </div>
</body>
{% block scripts %}
<script src="{{ url_for('static', filename='js/jquery-3.2.1.slim.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/popper.min.js') }}"></script>
<script src="{{ url_for('static', filename='js/bootstrap.min.js') }}"></script>
{% endblock scripts %}

</html>